package com.hexu.event.bean;

import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;

public class CommentBean {

    private SimpleStringProperty phoneNumber;
    private SimpleStringProperty commentTime;
    private SimpleStringProperty  attractionsName;
    private SimpleStringProperty content;

    //无参构造器
    public CommentBean(){
        super();
    }

    //有参构造器
    public CommentBean(String attractionName,String phoneNumber,String content,String commentTime){
        super();
        this.phoneNumber = new SimpleStringProperty(phoneNumber) ;
        this.attractionsName = new SimpleStringProperty(attractionName);
        this.content = new SimpleStringProperty(content);
        this.commentTime = new SimpleStringProperty(commentTime);

    }

    // getter and setter

    public String getPhoneNumber() {
        return phoneNumber.get();
    }

    public SimpleStringProperty phoneNumberProperty() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber.set(phoneNumber);
    }

    public String getCommentTime() {
        return commentTime.get();
    }

    public SimpleStringProperty commentTimeProperty() {
        return commentTime;
    }

    public void setCommentTime(String commentTime) {
        this.commentTime.set(commentTime);
    }

    public String getAttractionsName() {
        return attractionsName.get();
    }

    public SimpleStringProperty attractionsNameProperty() {
        return attractionsName;
    }

    public void setAttractionsName(String attractionsName) {
        this.attractionsName.set(attractionsName);
    }

    public String getContent() {
        return content.get();
    }

    public SimpleStringProperty contentProperty() {
        return content;
    }

    public void setContent(String content) {
        this.content.set(content);
    }
}
